Skip to content

Conversation

@natesmith123
Copy link

@natesmith123 natesmith123 commented Mar 31, 2025

Added light sync and a few message types for additional commands. I have a working nodeJS doing local control including Chlor diagnostics and such that I was going to try to port to python to make it easier for HA, then I found you already have an excellent project.

Added additional message types for additional commands.  Found by logging xml from Hayward API
Add Reset_StandAlone_Light method for resetting lights out of sync.
@natesmith123 natesmith123 marked this pull request as ready for review March 31, 2025 15:19
@cryptk
Copy link
Owner

cryptk commented Sep 17, 2025

@natesmith123 sorry for the LONG delay in getting to this, life has been hectic... Can you tell me what ResetStandAloneLight does? I don't have that in any of the documentation that I have assembled.

@natesmith123
Copy link
Author

This syncs the actual light state (ie. flamingo red) with what the controller thinks is the state. In the official app, its just called "sync".

@cryptk
Copy link
Owner

cryptk commented Oct 22, 2025

I have no documentation covering that, can you give some information about how to trigger it from the app or anything? Something I can use to test and validate it?

@natesmith123
Copy link
Author

I have not found any documentation on it either, just setup a MITM style repeater and logged all the xml back and forth from hayward when I triggered stuff in the official app. In the app, going into a light at the bottom just says "Sync Lights", Hayward then sends "ResetStandAloneLight" and PoolID, LightID and this triggers the controller to do a reset of the lights, briefly turning them off, then cycling them all so they are in the same state (for multiple lights connected to same relay).

@cryptk
Copy link
Owner

cryptk commented Oct 23, 2025

I wonder if I'm not seeing that because I only have one light...

@cryptk
Copy link
Owner

cryptk commented Oct 23, 2025

Can you update the branch and limit the PR to only code related to this one feature (basically remove the other constants from the omnitypes file)?

@cryptk cryptk changed the title Patch 1 feat: support ResetStandAloneLight API call Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants